// 全局方法
export default {
	install(Vue) {
		Vue.prototype.$myGlobalMethod = function() {
			console.log('This is a global method!');
		};

		Vue.prototype.$anotherGlobalMethod = function(value) {
			return `Hello, ${value}!`;
		};
	}
};